import request from '@/utils/request'

// 查询列表展示
export function findProjectList(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminBeautyProjectProvider/1.0.0/findProjectList.html',
    method: 'post',
    data: query
  })
}
// 上下架及状态
export function updateStatus(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminBeautyProjectProvider/1.0.0/updateStatus.html',
    method: 'post',
    data: query
  })
}
// 删除
export function delProject(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminBeautyProjectProvider/1.0.0/delProject.html',
    method: 'post',
    data: query
  })
}
// 医生列表
export function doctorList(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminDoctorProvider/1.0.0/doctorList.html',
    method: 'post',
    data: query
  })
}
// 医生列表(补贴单编辑下拉列表)
export function listDoctorsDropdown(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminDoctorProvider/1.0.0/listDoctorsDropdown.html',
    method: 'post',
    data: query
  })
}
// 新增
export function insertProject(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminBeautyProjectProvider/1.0.0/insertProject.html',
    method: 'post',
    data: query
  })
}
// 详情
export function findProjectByProjectId(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminBeautyProjectProvider/1.0.0/findProjectByProjectId.html',
    method: 'post',
    data: query
  })
}
// 修改
export function updateProject(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminBeautyProjectProvider/1.0.0/updateProject.html',
    method: 'post',
    data: query
  })
}
// 项目标签
export function MmkTagsList(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminMmkTagsProvider/1.0.0/mmkTagsList.html',
    method: 'post',
    data: query
  })
}
